package com.lhl.dubbo.demo;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@EnableDubbo
public class DubboProviderApplication {

	public static void main(String[] args) throws Exception {
		SpringApplication.run(DubboProviderApplication.class, args);
//		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[]{"spring/dubbo-provider.xml"});
//		context.start();
//
//		while (true) {
//			;
//		}

	}
}
